* {
  margin: 0;
  padding: 0;
}
img {
  display: block;
}
.wrap {
  position: relative;
  width: 900px;
  height: 600px;
  margin: 0 auto;
}
/* img:nth-of-type(n) {
  position: absolute;
  top=0+n*
} */
.wrap {
  width: 800px;
  height: 600px;
  display: grid;
  grid-template-rows: repeat(2, 240px);
  grid-template-columns: repeat(3, 240px);
  gap: 30px;
  place-content: center center;
}
.wrap div {
  border: 10px solid #cecece;
  position: relative;
}

div > img:nth-of-type(2) {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 1;
}
div > img:nth-of-type(3) {
  position: absolute;
  top: 8px;
  left: 8px;
}
p:nth-of-type(1) {
  font-size: 14px;
  color: #190c8f;
  position: absolute;
  top: 8px;
  left: 40px;
}
p:nth-of-type(2) {
  font-size: 14px;
  color: #190c8f;
  position: absolute;
  top: 30px;
  left: 8px;
}
